<!-- HTML header for doxygen 1.9.7-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<title>libsir: The Standard Incident Reporter Library</title>
<!-- OpenGraph -->
<meta property="og:title" content="libsir: The Standard Incident Reporter Library">
<meta property="og:description" content="A lightweight, cross-platform C library for information distribution">
<meta property="og:url" content="https://libsir.rml.dev">
<meta property="og:type" content="website">
<meta property="og:image" content="https://libsir.rml.dev/res/libsir-og.png">
<meta name="twitter:card" content="summary_large_image"></meta>
<meta name="twitter:title" content="libsir: The Standard Incident Reporter Library"></meta>
<meta name="twitter:description" content="A lightweight, cross-platform C library for information distribution"></meta>
<meta name="twitter:image" content="https://libsir.rml.dev/res/libsir-og.png"></meta>
<!-- /OpenGraph -->
<!-- favicon -->
<link rel="icon" href="res/libsir-icon.png">
<link rel="icon" href="res/libsir-icon.svg" type="image/svg+xml">
<link rel="manifest" href="res/icons.webmanifest">
<!-- /favicon -->
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
<link href="rml-navtree.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">libsir<span id="projectnumber">&#160;2.2.6</span>
   </div>
   <div id="projectbrief">Standard Incident Reporter</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search',true);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('errors_8h_source.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">errors.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">/*</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="comment"> * errors.h</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="comment"> *</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="comment"> * Version: 2.2.6</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="comment"> *</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="comment"> * -----------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="comment"> *</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="comment"> * SPDX-License-Identifier: MIT</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span><span class="comment"> *</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="comment"> * Copyright (c) 2018-2024 Ryan M. Lederman &lt;lederman@gmail.com&gt;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="comment"> * Copyright (c) 2018-2024 Jeffrey H. Johnson &lt;trnsz@pobox.com&gt;</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="comment"> *</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a copy of</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="comment"> * this software and associated documentation files (the &quot;Software&quot;), to deal in</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="comment"> * the Software without restriction, including without limitation the rights to</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="comment"> * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="comment"> * the Software, and to permit persons to whom the Software is furnished to do so,</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="comment"> * subject to the following conditions:</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="comment"> *</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="comment"> * The above copyright notice and this permission notice shall be included in all</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span><span class="comment"> * copies or substantial portions of the Software.</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="comment"> *</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="comment"> * THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="comment"> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="comment"> * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="comment"> * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="comment"> * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span><span class="comment"> * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span><span class="comment"> *</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span><span class="comment"> * -----------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span><span class="comment"> */</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span> </div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span><span class="preprocessor">#ifndef _SIR_ERRORS_H_INCLUDED</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span><span class="preprocessor"># define _SIR_ERRORS_H_INCLUDED</span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span> </div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span><span class="preprocessor"># include &quot;sir/types.h&quot;</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span></div>
<div class="foldopen" id="foldopen00044" data-start="{" data-end="};">
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="group__publictypes.html#ga861df9be69c6bcd01d29b77bd28ff7d3">   44</a></span><span class="keyword">enum</span> <a class="code hl_enumeration" href="group__publictypes.html#ga861df9be69c6bcd01d29b77bd28ff7d3">sir_errorcode</a> {</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3ae9cf0dd9b54a0e456a565c6a8bf107f7">   45</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3ae9cf0dd9b54a0e456a565c6a8bf107f7">SIR_E_NOERROR</a>   = 1,    </div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a87dc9e5593942f7413b84a17c64a01eb">   46</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a87dc9e5593942f7413b84a17c64a01eb">SIR_E_NOTREADY</a>  = 2,    </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a96e01762a7feb2dbbd6f3c4504ba3470">   47</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a96e01762a7feb2dbbd6f3c4504ba3470">SIR_E_ALREADY</a>   = 3,    </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a1b1cb52b01bb034e47cf015ebb49b3f1">   48</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a1b1cb52b01bb034e47cf015ebb49b3f1">SIR_E_DUPITEM</a>   = 4,    </div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a50f94f27851a7d56cec2d32b00ac383e">   49</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a50f94f27851a7d56cec2d32b00ac383e">SIR_E_NOITEM</a>    = 5,    </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3ae0cbdf962c6cdc1985795e07a705244b">   50</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3ae0cbdf962c6cdc1985795e07a705244b">SIR_E_NOROOM</a>    = 6,    </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a502a8e20f25ecee09eb75576238bb797">   51</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a502a8e20f25ecee09eb75576238bb797">SIR_E_OPTIONS</a>   = 7,    </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a909ed133cf8d178dd98b24b51fe844bf">   52</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a909ed133cf8d178dd98b24b51fe844bf">SIR_E_LEVELS</a>    = 8,    </div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a3f34b13f811b5ddc9e4c216f5432fa1d">   53</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a3f34b13f811b5ddc9e4c216f5432fa1d">SIR_E_TEXTSTYLE</a> = 9,    </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a014d92769313bc513bd580461d8ebcd3">   54</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a014d92769313bc513bd580461d8ebcd3">SIR_E_STRING</a>    = 10,   </div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a8e6f10a1b3f9eb256aaa4f9c1504b43d">   55</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a8e6f10a1b3f9eb256aaa4f9c1504b43d">SIR_E_NULLPTR</a>   = 11,   </div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3aba1600c4a3cb92f8f2cdf7be820606d3">   56</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3aba1600c4a3cb92f8f2cdf7be820606d3">SIR_E_INVALID</a>   = 12,   </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3ad8d3e0a7ff09ea46a966d07ad08536af">   57</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3ad8d3e0a7ff09ea46a966d07ad08536af">SIR_E_NODEST</a>    = 13,   </div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a3b567998a2ca4da43348b5edb38dd865">   58</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a3b567998a2ca4da43348b5edb38dd865">SIR_E_UNAVAIL</a>   = 14,   </div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a1cc3cc0a607357ce4e6e8931c5b26190">   59</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a1cc3cc0a607357ce4e6e8931c5b26190">SIR_E_INTERNAL</a>  = 15,   </div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3aa8be0c34a6b8a73f40cb8895ee3c43ca">   60</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3aa8be0c34a6b8a73f40cb8895ee3c43ca">SIR_E_COLORMODE</a> = 16,   </div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3af4f4ba84fa79d43fa816717db4403abe">   61</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3af4f4ba84fa79d43fa816717db4403abe">SIR_E_TEXTATTR</a>  = 17,   </div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a078991e5214a2846ddaa2779f3f1c336">   62</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a078991e5214a2846ddaa2779f3f1c336">SIR_E_TEXTCOLOR</a> = 18,   </div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3aa8ed1f05c3de1319d6eba4c3f44ec183">   63</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3aa8ed1f05c3de1319d6eba4c3f44ec183">SIR_E_PLUGINBAD</a> = 19,   </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a80c1d698c56a8b54ae747dc5c4c969a8">   64</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a80c1d698c56a8b54ae747dc5c4c969a8">SIR_E_PLUGINDAT</a> = 20,   </div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a72ce4f1dddbcac7f0a5d2224c5164927">   65</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a72ce4f1dddbcac7f0a5d2224c5164927">SIR_E_PLUGINVER</a> = 21,   </div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a99ffe5bf9046a13802a9e0680e7f5e57">   66</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a99ffe5bf9046a13802a9e0680e7f5e57">SIR_E_PLUGINERR</a> = 22,   </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a0f293a6020f98a7e41b8afea0e402046">   67</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a0f293a6020f98a7e41b8afea0e402046">SIR_E_PLATFORM</a>  = 23,   </div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a8090c8bc79ae660da7e58b2d0a47d785">   68</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a8090c8bc79ae660da7e58b2d0a47d785">SIR_E_UNKNOWN</a>   = 4095, </div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span>};</div>
</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span></div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span> </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span><span class="preprocessor"># if defined(__cplusplus)</span></div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span><span class="preprocessor"># endif</span></div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span></div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span><span class="preprocessor"># define _sir_mkerror(code) (((uint32_t)((code) &amp; 0x7fffffffU) &lt;&lt; 16) | 0x80000000U)</span></div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span></div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span><span class="keyword">static</span> <span class="keyword">inline</span></div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span><span class="keywordtype">bool</span> _sir_validerror(uint32_t err) {</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span>    uint32_t masked = err &amp; 0x8fffffffU;</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span>    <span class="keywordflow">return</span> masked &gt;= 0x80000000U &amp;&amp; masked &lt;= 0x8fff0000U;</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span>}</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span></div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span><span class="keyword">static</span> <span class="keyword">inline</span></div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span>uint16_t _sir_geterrcode(uint32_t err) {</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno">   91</span>    <span class="keywordflow">return</span> (err &gt;&gt; 16) &amp; 0x7fffU;</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span>}</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span></div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span><span class="preprocessor"># define _SIR_E_NOERROR   _sir_mkerror(SIR_E_NOERROR)</span></div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span><span class="preprocessor"># define _SIR_E_NOTREADY  _sir_mkerror(SIR_E_NOTREADY)</span></div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span><span class="preprocessor"># define _SIR_E_ALREADY   _sir_mkerror(SIR_E_ALREADY)</span></div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno">   98</span><span class="preprocessor"># define _SIR_E_DUPITEM   _sir_mkerror(SIR_E_DUPITEM)</span></div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span><span class="preprocessor"># define _SIR_E_NOITEM    _sir_mkerror(SIR_E_NOITEM)</span></div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span><span class="preprocessor"># define _SIR_E_NOROOM    _sir_mkerror(SIR_E_NOROOM)</span></div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span><span class="preprocessor"># define _SIR_E_OPTIONS   _sir_mkerror(SIR_E_OPTIONS)</span></div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span><span class="preprocessor"># define _SIR_E_LEVELS    _sir_mkerror(SIR_E_LEVELS)</span></div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span><span class="preprocessor"># define _SIR_E_TEXTSTYLE _sir_mkerror(SIR_E_TEXTSTYLE)</span></div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span><span class="preprocessor"># define _SIR_E_STRING    _sir_mkerror(SIR_E_STRING)</span></div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span><span class="preprocessor"># define _SIR_E_NULLPTR   _sir_mkerror(SIR_E_NULLPTR)</span></div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span><span class="preprocessor"># define _SIR_E_INVALID   _sir_mkerror(SIR_E_INVALID)</span></div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span><span class="preprocessor"># define _SIR_E_NODEST    _sir_mkerror(SIR_E_NODEST)</span></div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span><span class="preprocessor"># define _SIR_E_UNAVAIL   _sir_mkerror(SIR_E_UNAVAIL)</span></div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span><span class="preprocessor"># define _SIR_E_INTERNAL  _sir_mkerror(SIR_E_INTERNAL)</span></div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span><span class="preprocessor"># define _SIR_E_COLORMODE _sir_mkerror(SIR_E_COLORMODE)</span></div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span><span class="preprocessor"># define _SIR_E_TEXTATTR  _sir_mkerror(SIR_E_TEXTATTR)</span></div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span><span class="preprocessor"># define _SIR_E_TEXTCOLOR _sir_mkerror(SIR_E_TEXTCOLOR)</span></div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno">  113</span><span class="preprocessor"># define _SIR_E_PLUGINBAD _sir_mkerror(SIR_E_PLUGINBAD)</span></div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span><span class="preprocessor"># define _SIR_E_PLUGINDAT _sir_mkerror(SIR_E_PLUGINDAT)</span></div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span><span class="preprocessor"># define _SIR_E_PLUGINVER _sir_mkerror(SIR_E_PLUGINVER)</span></div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span><span class="preprocessor"># define _SIR_E_PLUGINERR _sir_mkerror(SIR_E_PLUGINERR)</span></div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno">  117</span><span class="preprocessor"># define _SIR_E_PLATFORM  _sir_mkerror(SIR_E_PLATFORM)</span></div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span><span class="preprocessor"># define _SIR_E_UNKNOWN   _sir_mkerror(SIR_E_UNKNOWN)</span></div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span> </div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span><span class="keywordtype">bool</span> __sir_seterror(uint32_t err, <span class="keyword">const</span> <span class="keywordtype">char</span>* func, <span class="keyword">const</span> <span class="keywordtype">char</span>* file, uint32_t line);</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span><span class="preprocessor"># define _sir_seterror(err) __sir_seterror(err, __func__, __file__, __LINE__)</span></div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno">  122</span> </div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno">  123</span><span class="keywordtype">void</span> __sir_setoserror(<span class="keywordtype">int</span> code, <span class="keyword">const</span> <span class="keywordtype">char</span>* msg, <span class="keyword">const</span> <span class="keywordtype">char</span>* func,</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno">  124</span>    <span class="keyword">const</span> <span class="keywordtype">char</span>* file, uint32_t line);</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno">  125</span></div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno">  127</span><span class="keywordtype">bool</span> __sir_handleerr(<span class="keywordtype">int</span> code, <span class="keyword">const</span> <span class="keywordtype">char</span>* func, <span class="keyword">const</span> <span class="keywordtype">char</span>* file, uint32_t line);</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno">  128</span><span class="preprocessor"># define _sir_handleerr(code) __sir_handleerr(code, __func__, __file__, __LINE__)</span></div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno">  129</span> </div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno">  130</span><span class="preprocessor"># if defined(__WIN__)</span></div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno">  131</span><span class="keywordtype">void</span> _sir_invalidparameter(<span class="keyword">const</span> <span class="keywordtype">wchar_t</span>* expr, <span class="keyword">const</span> <span class="keywordtype">wchar_t</span>* func, <span class="keyword">const</span> <span class="keywordtype">wchar_t</span>* file,</div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno">  132</span>    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> line, uintptr_t reserved);</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno">  133</span> </div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno">  134</span><span class="keywordtype">bool</span> __sir_handlewin32err(DWORD code, <span class="keyword">const</span> <span class="keywordtype">char</span>* func, <span class="keyword">const</span> <span class="keywordtype">char</span>* file, uint32_t line);</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno">  135</span><span class="preprocessor">#  define _sir_handlewin32err(code) __sir_handlewin32err((DWORD)code, __func__, __file__, __LINE__)</span></div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span><span class="preprocessor"># endif</span></div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno">  137</span></div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno">  140</span>uint32_t _sir_geterror(<span class="keywordtype">char</span> message[<a class="code hl_define" href="config_8h.html#ad6fce840144259e992c33fb611f31262">SIR_MAXERROR</a>]);</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno">  141</span></div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno">  143</span><span class="keywordtype">void</span> _sir_geterrorinfo(<a class="code hl_struct" href="group__publictypes.html#structsir__errorinfo">sir_errorinfo</a>* err);</div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno">  144</span></div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno">  146</span><span class="keywordtype">void</span> _sir_reset_tls_error(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno">  147</span> </div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno">  148</span><span class="preprocessor"># if defined(SIR_SELFLOG)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno">  150</span>PRINTF_FORMAT_ATTR(4, 5)</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno">  151</span>void __sir_selflog(const <span class="keywordtype">char</span>* func, const <span class="keywordtype">char</span>* file, uint32_t line, PRINTF_FORMAT const <span class="keywordtype">char</span>* format, ...);</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno">  152</span><span class="preprocessor">#  define _sir_selflog(...) __sir_selflog(__func__, __file__, __LINE__, __VA_ARGS__)</span></div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno">  153</span><span class="preprocessor"># else</span></div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno">  154</span><span class="keyword">static</span> <span class="keyword">inline</span></div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno">  155</span><span class="keywordtype">void</span> __sir_fakefunc(<span class="keyword">const</span> <span class="keywordtype">char</span>* format, ...) { (void)format; }</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno">  156</span><span class="preprocessor">#  define _sir_selflog(...) __sir_fakefunc(__VA_ARGS__)</span></div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno">  157</span><span class="preprocessor"># endif</span></div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno">  158</span> </div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno">  159</span><span class="preprocessor"># if defined(__cplusplus)</span></div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno">  160</span>}</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno">  161</span><span class="preprocessor"># endif</span></div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno">  162</span> </div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno">  163</span><span class="preprocessor">#endif </span><span class="comment">/* !_SIR_ERRORS_H_INCLUDED */</span><span class="preprocessor"></span></div>
<div class="ttc" id="aconfig_8h_html_ad6fce840144259e992c33fb611f31262"><div class="ttname"><a href="config_8h.html#ad6fce840144259e992c33fb611f31262">SIR_MAXERROR</a></div><div class="ttdeci">#define SIR_MAXERROR</div><div class="ttdoc">The maximum size, in characters, of an error message.</div><div class="ttdef"><b>Definition</b> config.h:419</div></div>
<div class="ttc" id="agroup__publictypes_html_ga861df9be69c6bcd01d29b77bd28ff7d3"><div class="ttname"><a href="group__publictypes.html#ga861df9be69c6bcd01d29b77bd28ff7d3">sir_errorcode</a></div><div class="ttdeci">sir_errorcode</div><div class="ttdoc">Error codes.</div><div class="ttdef"><b>Definition</b> errors.h:44</div></div>
<div class="ttc" id="agroup__publictypes_html_gga861df9be69c6bcd01d29b77bd28ff7d3a014d92769313bc513bd580461d8ebcd3"><div class="ttname"><a href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a014d92769313bc513bd580461d8ebcd3">SIR_E_STRING</a></div><div class="ttdeci">@ SIR_E_STRING</div><div class="ttdoc">Invalid string argument.</div><div class="ttdef"><b>Definition</b> errors.h:54</div></div>
<div class="ttc" id="agroup__publictypes_html_gga861df9be69c6bcd01d29b77bd28ff7d3a078991e5214a2846ddaa2779f3f1c336"><div class="ttname"><a href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a078991e5214a2846ddaa2779f3f1c336">SIR_E_TEXTCOLOR</a></div><div class="ttdeci">@ SIR_E_TEXTCOLOR</div><div class="ttdoc">Text color is invalid for mode.</div><div class="ttdef"><b>Definition</b> errors.h:62</div></div>
<div class="ttc" id="agroup__publictypes_html_gga861df9be69c6bcd01d29b77bd28ff7d3a0f293a6020f98a7e41b8afea0e402046"><div class="ttname"><a href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a0f293a6020f98a7e41b8afea0e402046">SIR_E_PLATFORM</a></div><div class="ttdeci">@ SIR_E_PLATFORM</div><div class="ttdoc">Platform error code %d: %s.</div><div class="ttdef"><b>Definition</b> errors.h:67</div></div>
<div class="ttc" id="agroup__publictypes_html_gga861df9be69c6bcd01d29b77bd28ff7d3a1b1cb52b01bb034e47cf015ebb49b3f1"><div class="ttname"><a href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a1b1cb52b01bb034e47cf015ebb49b3f1">SIR_E_DUPITEM</a></div><div class="ttdeci">@ SIR_E_DUPITEM</div><div class="ttdoc">Item already managed by libsir.</div><div class="ttdef"><b>Definition</b> errors.h:48</div></div>
<div class="ttc" id="agroup__publictypes_html_gga861df9be69c6bcd01d29b77bd28ff7d3a1cc3cc0a607357ce4e6e8931c5b26190"><div class="ttname"><a href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a1cc3cc0a607357ce4e6e8931c5b26190">SIR_E_INTERNAL</a></div><div class="ttdeci">@ SIR_E_INTERNAL</div><div class="ttdoc">An internal error has occurred.</div><div class="ttdef"><b>Definition</b> errors.h:59</div></div>
<div class="ttc" id="agroup__publictypes_html_gga861df9be69c6bcd01d29b77bd28ff7d3a3b567998a2ca4da43348b5edb38dd865"><div class="ttname"><a href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a3b567998a2ca4da43348b5edb38dd865">SIR_E_UNAVAIL</a></div><div class="ttdeci">@ SIR_E_UNAVAIL</div><div class="ttdoc">Feature is disabled or unavailable.</div><div class="ttdef"><b>Definition</b> errors.h:58</div></div>
<div class="ttc" id="agroup__publictypes_html_gga861df9be69c6bcd01d29b77bd28ff7d3a3f34b13f811b5ddc9e4c216f5432fa1d"><div class="ttname"><a href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a3f34b13f811b5ddc9e4c216f5432fa1d">SIR_E_TEXTSTYLE</a></div><div class="ttdeci">@ SIR_E_TEXTSTYLE</div><div class="ttdoc">Text style is invalid.</div><div class="ttdef"><b>Definition</b> errors.h:53</div></div>
<div class="ttc" id="agroup__publictypes_html_gga861df9be69c6bcd01d29b77bd28ff7d3a502a8e20f25ecee09eb75576238bb797"><div class="ttname"><a href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a502a8e20f25ecee09eb75576238bb797">SIR_E_OPTIONS</a></div><div class="ttdeci">@ SIR_E_OPTIONS</div><div class="ttdoc">Option flags are invalid.</div><div class="ttdef"><b>Definition</b> errors.h:51</div></div>
<div class="ttc" id="agroup__publictypes_html_gga861df9be69c6bcd01d29b77bd28ff7d3a50f94f27851a7d56cec2d32b00ac383e"><div class="ttname"><a href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a50f94f27851a7d56cec2d32b00ac383e">SIR_E_NOITEM</a></div><div class="ttdeci">@ SIR_E_NOITEM</div><div class="ttdoc">Item not managed by libsir.</div><div class="ttdef"><b>Definition</b> errors.h:49</div></div>
<div class="ttc" id="agroup__publictypes_html_gga861df9be69c6bcd01d29b77bd28ff7d3a72ce4f1dddbcac7f0a5d2224c5164927"><div class="ttname"><a href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a72ce4f1dddbcac7f0a5d2224c5164927">SIR_E_PLUGINVER</a></div><div class="ttdeci">@ SIR_E_PLUGINVER</div><div class="ttdoc">Plugin interface version unsupported.</div><div class="ttdef"><b>Definition</b> errors.h:65</div></div>
<div class="ttc" id="agroup__publictypes_html_gga861df9be69c6bcd01d29b77bd28ff7d3a8090c8bc79ae660da7e58b2d0a47d785"><div class="ttname"><a href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a8090c8bc79ae660da7e58b2d0a47d785">SIR_E_UNKNOWN</a></div><div class="ttdeci">@ SIR_E_UNKNOWN</div><div class="ttdoc">Unknown error.</div><div class="ttdef"><b>Definition</b> errors.h:68</div></div>
<div class="ttc" id="agroup__publictypes_html_gga861df9be69c6bcd01d29b77bd28ff7d3a80c1d698c56a8b54ae747dc5c4c969a8"><div class="ttname"><a href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a80c1d698c56a8b54ae747dc5c4c969a8">SIR_E_PLUGINDAT</a></div><div class="ttdeci">@ SIR_E_PLUGINDAT</div><div class="ttdoc">Data produced by plugin is invalid.</div><div class="ttdef"><b>Definition</b> errors.h:64</div></div>
<div class="ttc" id="agroup__publictypes_html_gga861df9be69c6bcd01d29b77bd28ff7d3a87dc9e5593942f7413b84a17c64a01eb"><div class="ttname"><a href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a87dc9e5593942f7413b84a17c64a01eb">SIR_E_NOTREADY</a></div><div class="ttdeci">@ SIR_E_NOTREADY</div><div class="ttdoc">libsir has not been initialized</div><div class="ttdef"><b>Definition</b> errors.h:46</div></div>
<div class="ttc" id="agroup__publictypes_html_gga861df9be69c6bcd01d29b77bd28ff7d3a8e6f10a1b3f9eb256aaa4f9c1504b43d"><div class="ttname"><a href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a8e6f10a1b3f9eb256aaa4f9c1504b43d">SIR_E_NULLPTR</a></div><div class="ttdeci">@ SIR_E_NULLPTR</div><div class="ttdoc">NULL pointer argument.</div><div class="ttdef"><b>Definition</b> errors.h:55</div></div>
<div class="ttc" id="agroup__publictypes_html_gga861df9be69c6bcd01d29b77bd28ff7d3a909ed133cf8d178dd98b24b51fe844bf"><div class="ttname"><a href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a909ed133cf8d178dd98b24b51fe844bf">SIR_E_LEVELS</a></div><div class="ttdeci">@ SIR_E_LEVELS</div><div class="ttdoc">Level flags are invalid.</div><div class="ttdef"><b>Definition</b> errors.h:52</div></div>
<div class="ttc" id="agroup__publictypes_html_gga861df9be69c6bcd01d29b77bd28ff7d3a96e01762a7feb2dbbd6f3c4504ba3470"><div class="ttname"><a href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a96e01762a7feb2dbbd6f3c4504ba3470">SIR_E_ALREADY</a></div><div class="ttdeci">@ SIR_E_ALREADY</div><div class="ttdoc">libsir is already initialized</div><div class="ttdef"><b>Definition</b> errors.h:47</div></div>
<div class="ttc" id="agroup__publictypes_html_gga861df9be69c6bcd01d29b77bd28ff7d3a99ffe5bf9046a13802a9e0680e7f5e57"><div class="ttname"><a href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3a99ffe5bf9046a13802a9e0680e7f5e57">SIR_E_PLUGINERR</a></div><div class="ttdeci">@ SIR_E_PLUGINERR</div><div class="ttdoc">Plugin reported failure.</div><div class="ttdef"><b>Definition</b> errors.h:66</div></div>
<div class="ttc" id="agroup__publictypes_html_gga861df9be69c6bcd01d29b77bd28ff7d3aa8be0c34a6b8a73f40cb8895ee3c43ca"><div class="ttname"><a href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3aa8be0c34a6b8a73f40cb8895ee3c43ca">SIR_E_COLORMODE</a></div><div class="ttdeci">@ SIR_E_COLORMODE</div><div class="ttdoc">Color mode is invalid.</div><div class="ttdef"><b>Definition</b> errors.h:60</div></div>
<div class="ttc" id="agroup__publictypes_html_gga861df9be69c6bcd01d29b77bd28ff7d3aa8ed1f05c3de1319d6eba4c3f44ec183"><div class="ttname"><a href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3aa8ed1f05c3de1319d6eba4c3f44ec183">SIR_E_PLUGINBAD</a></div><div class="ttdeci">@ SIR_E_PLUGINBAD</div><div class="ttdoc">Plugin module is malformed.</div><div class="ttdef"><b>Definition</b> errors.h:63</div></div>
<div class="ttc" id="agroup__publictypes_html_gga861df9be69c6bcd01d29b77bd28ff7d3aba1600c4a3cb92f8f2cdf7be820606d3"><div class="ttname"><a href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3aba1600c4a3cb92f8f2cdf7be820606d3">SIR_E_INVALID</a></div><div class="ttdeci">@ SIR_E_INVALID</div><div class="ttdoc">Invalid argument.</div><div class="ttdef"><b>Definition</b> errors.h:56</div></div>
<div class="ttc" id="agroup__publictypes_html_gga861df9be69c6bcd01d29b77bd28ff7d3ad8d3e0a7ff09ea46a966d07ad08536af"><div class="ttname"><a href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3ad8d3e0a7ff09ea46a966d07ad08536af">SIR_E_NODEST</a></div><div class="ttdeci">@ SIR_E_NODEST</div><div class="ttdoc">No destinations registered for level.</div><div class="ttdef"><b>Definition</b> errors.h:57</div></div>
<div class="ttc" id="agroup__publictypes_html_gga861df9be69c6bcd01d29b77bd28ff7d3ae0cbdf962c6cdc1985795e07a705244b"><div class="ttname"><a href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3ae0cbdf962c6cdc1985795e07a705244b">SIR_E_NOROOM</a></div><div class="ttdeci">@ SIR_E_NOROOM</div><div class="ttdoc">Maximum number of items already stored.</div><div class="ttdef"><b>Definition</b> errors.h:50</div></div>
<div class="ttc" id="agroup__publictypes_html_gga861df9be69c6bcd01d29b77bd28ff7d3ae9cf0dd9b54a0e456a565c6a8bf107f7"><div class="ttname"><a href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3ae9cf0dd9b54a0e456a565c6a8bf107f7">SIR_E_NOERROR</a></div><div class="ttdeci">@ SIR_E_NOERROR</div><div class="ttdoc">The operation completed successfully.</div><div class="ttdef"><b>Definition</b> errors.h:45</div></div>
<div class="ttc" id="agroup__publictypes_html_gga861df9be69c6bcd01d29b77bd28ff7d3af4f4ba84fa79d43fa816717db4403abe"><div class="ttname"><a href="group__publictypes.html#gga861df9be69c6bcd01d29b77bd28ff7d3af4f4ba84fa79d43fa816717db4403abe">SIR_E_TEXTATTR</a></div><div class="ttdeci">@ SIR_E_TEXTATTR</div><div class="ttdoc">Text attributes are invalid.</div><div class="ttdef"><b>Definition</b> errors.h:61</div></div>
<div class="ttc" id="agroup__publictypes_html_structsir__errorinfo"><div class="ttname"><a href="group__publictypes.html#structsir__errorinfo">sir_errorinfo</a></div><div class="ttdoc">Information about an error that occurred.</div><div class="ttdef"><b>Definition</b> types.h:150</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.9.7-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_89aa746955889ced97536d9f51ce6c73.html">sir</a></li><li class="navelem"><b>errors.h</b></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.2 </li>
  </ul>
</div>
</body>
</html>
